package com.xiaoyu.lanling.feature.checkin.data

import com.xiaoyu.base.net.RequestCreator
import com.xiaoyu.lanling.common.config.HttpConfig
import com.xiaoyu.lanling.event.checkin.CheckInEvent

object CheckInData {

    fun checkIn(requestTag: Any) {
        RequestCreator.create<CheckInEvent>(requestTag, CheckInEvent::class.java)
                .setPostEventWhenFail(true)
                .setRequestUrl(HttpConfig.LANLING_CHECK_IN)
                .enqueue()
    }
}